package com.zhouxiaoge.gitlab.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 周明阳
 * @date 2019/7/26 14:16
 */

@Data
public class Jobs implements Serializable {
    /**
     * {
     * "id": 380,
     * "status": "success",
     * "stage": "deploy",
     * "name": "deploy_springboot",
     * "ref": "master",
     * "tag": false,
     * "coverage": null,
     * "created_at": "2019-07-26T03:00:35.635Z",
     * "started_at": "2019-07-26T03:01:20.483Z",
     * "finished_at": "2019-07-26T03:01:24.356Z",
     * "duration": 3.87231,
     * "user": {
     * },
     * "commit": {
     * },
     * "pipeline": {
     * },
     * "runner": {
     * },
     * "artifacts_expire_at": null
     * }
     */
    private String id;
    private String status;
    private String stage;
    private String name;
    private String ref;
    private String tag;
    private String coverage;
    private String createdAt;
    private String startedAt;
    private String finishedAt;;
    private String duration;
    private String artifactsExpireAt;

    private UserInfo user;
    private Commit commit;
    private Pipeline pipeline;
    private Runner runner;
}
